<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : EC2AssociateIP
    Created on : Nov 23, 2008, 2:14:36 PM
    Author     : Sean ODell
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1" title="AWS Manager - Associate Elastic IP">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{EC2AssociateIP.form1}" id="form1" virtualFormsConfig="save | lp_EC2AssociateIP:gridPanel1:ddl_InstanceIds lp_EC2AssociateIP:gridPanel1:tf_InstanceName lp_EC2AssociateIP:gridPanel1:cb_OverrideCurrent | lp_EC2AssociateIP:gridPanel1:ddl_InstanceIds lp_EC2AssociateIP:gridPanel1:tf_InstanceName lp_EC2AssociateIP:gridPanel1:cb_OverrideCurrent">
                        <div style="left: 0px; top: 0px; position: absolute; width: 100%">
                            <jsp:directive.include file="AWSManagerHeader.jspf"/>
                        </div>
                        <webuijsf:panelLayout id="lp_EC2AssociateIP" panelLayout="flow" style="border: 1px solid rgb(0, 0, 0); margin: 5px; padding: 5px; left: 2px; top: 74px; position: absolute">
                            <webuijsf:alert binding="#{EC2AssociateIP.al_EC2AssociateIP}" id="al_EC2AssociateIP" style="font-size: 10px"/>
                            <h:panelGrid columns="2" id="gridPanel1" style="border: 2px solid rgb(204, 255, 204);">
                                <webuijsf:label id="l_NewAssociation" style="margin-bottom: 4px; padding-bottom: 4px; text-decoration: underline" text="New Association"/>
                                <webuijsf:label id="l_Buffer1" visible="false"/>
                                <webuijsf:label id="l_InstanceID" text="Instance ID:"/>
                                <webuijsf:dropDown binding="#{EC2AssociateIP.ddl_InstanceIds}" id="ddl_InstanceIds" items="#{EC2AssociateIP.instanceIDsOptions}"
                                    onChange="webui.suntheme4_2.common.timeoutSubmitForm(this.form, 'lp_EC2AssociateIP:gridPanel1:ddl_InstanceIds');" valueChangeListenerExpression="#{EC2AssociateIP.ddl_InstanceIds_processValueChange}"/>
                                <webuijsf:label id="l_InstanceName" text="Instance Name:"/>
                                <webuijsf:textField binding="#{EC2AssociateIP.tf_InstanceName}" id="tf_InstanceName" readOnly="true"/>
                                <webuijsf:label id="l_IPAddress" text="IP Address:"/>
                                <webuijsf:textField binding="#{EC2AssociateIP.tf_IPAddress}" columns="40" id="tf_IPAddress" readOnly="true"/>
                                <webuijsf:label id="l_IPName" text="Address Name:"/>
                                <webuijsf:textField binding="#{EC2AssociateIP.tf_IPName}" columns="40" id="tf_IPName" readOnly="true"/>
                                <webuijsf:label id="l_CurrentAssociation" style="margin-bottom: 4px; padding-bottom: 4px; text-decoration: underline" text="Current Association"/>
                                <webuijsf:label id="l_Buffer3" visible="false"/>
                                <webuijsf:label id="l_CurrentInstanceID" text="Instance ID:"/>
                                <webuijsf:textField binding="#{EC2AssociateIP.tf_CurrentInstanceID}" columns="40" id="tf_CurrentInstanceID" readOnly="true"/>
                                <webuijsf:label id="l_CurrentIPName" text="Instance Name:"/>
                                <webuijsf:textField binding="#{EC2AssociateIP.tf_CurrentInstanceName}" columns="40" id="tf_CurrentInstanceName" readOnly="true"/>
                                <webuijsf:checkbox binding="#{EC2AssociateIP.cb_OverrideCurrent}" id="cb_OverrideCurrent" label="Override Current Association?"
                                    onClick="" visible="#{EC2AssociateIP.overrideAssociationVisible}"/>
                            </h:panelGrid>
                            <h:panelGrid columns="2" id="gridPanel2" style="margin-top: 4px; margin-bottom: 4px" width="235">
                                <webuijsf:button actionExpression="#{EC2AssociateIP.associateBtn_action}" id="btn_EC2IP_Associate" text="Associate" visible="#{EC2AssociateIP.associateButtonVisible}"/>
                                <webuijsf:button actionExpression="#{EC2AssociateIP.returnBtn_action}" id="btn_EC2IP_Associate_Return" text="Return"/>
                            </h:panelGrid>
                        </webuijsf:panelLayout>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
